package cn.edu.scnu.pay.service.Impl;

import cn.edu.scnu.entry.model.User;
import cn.edu.scnu.pay.mapper.PayMapper;
import cn.edu.scnu.pay.service.PayService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class PayServiceImpl implements PayService {

    @Autowired
    private PayMapper payMapper;

    @Override
    public void pay(User user) {
        payMapper.pay(user);
    }
}
